﻿ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLite.Data;
using System.ComponentModel;

namespace NorthWind
{
    /// <summary>
    /// Customers:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
   [Table(Name = "Customers")]
    public partial class Customers
    {
        public Customers()
        { }
        #region Model
        private string _customerid;
        private string _companyname;
        private string _contactname;
        private string _contacttitle;
        private string _address;
        private string _city;
        private string _region;
        private string _postalcode;
        private string _country;
        private string _phone;
        private string _fax;
        /// <summary>
        /// 
        /// </summary>
        [Id]
       [DisplayName("ID")]
        public string CustomerID
        {
            set { _customerid = value; }
            get { return _customerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Column]

        public string CompanyName
        {
            set { _companyname = value; }
            get { return _companyname; }
        }
        /// <summary>
        /// 
        /// </summary>
      [Column]
      [DisplayName("ContactName")]
        public string ContactName
        {
            set { _contactname = value; }
            get { return _contactname; }
        }
        /// <summary>
        /// 
        /// </summary>
         [Column]
          public string ContactTitle
        {
            set { _contacttitle = value; }
            get { return _contacttitle; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 
        /// </summary>
            [Column]
        public string Region
        {
            set { _region = value; }
            get { return _region; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string PostalCode
        {
            set { _postalcode = value; }
            get { return _postalcode; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string Country
        {
            set { _country = value; }
            get { return _country; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
             [Column]
        public string Fax
        {
            set { _fax = value; }
            get { return _fax; }
        }
        #endregion Model

    }
}
